<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>表格</title>
    <style>
        h1{
            color:red;
        }
        table{
            border: 3px solid red;
            border-spacing: 0;
        }
        th,td{
            border-right: 1px dotted red;
            border-bottom: 1px dotted red;
            padding: 6px 10px;
        }
    </style>
</head>
<body>
<h1>表格显示数据</h1>
<table>
    <tr>
        <th>成语</th>
        <th>首字</th>
    </tr>
    <tr>
        <td>一清二白</td>
        <td>一</td>
    </tr>
    <tr>
        <td>一穷二白</td>
        <td>一</td>
    </tr>
    <tr>
        <td>一丁不识</td>
        <td>一</td>
    </tr>
</table>
</body>
</html>
